package com.chain.BrotherExchange.data.model;

import java.text.DecimalFormat;

public class LegalTenderOrderDetails extends BaseResponseModel<LegalTenderOrderDetails.DataBean> {

    public static class DataBean {
        /**
         * sell_id : 1
         * sell_name : sell_name
         * buy_id : 2
         * buy_name : buy_name
         * status : 1
         * ali_receipt_code : http:/code/
         * alipay : 130580000
         * alipay_name : ldh
         * bank_info : shzhbank
         * bank_name :
         * bankpay_name : ldh
         * card_num : 6333
         * num : 1
         * order_id : 118070948397
         * pay_price : 46059.06
         * paypal_num :
         * price : 46059.06
         * wechat :
         * wechat_name : ldh
         * wechat_receipt_code : http:/code/
         * token_id : 1
         * token_name : BTC
         */

        private String begin_time;
        private String expiry_time;

        public String getBegin_time() {
            return begin_time;
        }

        public void setBegin_time(String begin_time) {
            this.begin_time = begin_time;
        }

        public String getExpiry_time() {
            return expiry_time;
        }

        public void setExpiry_time(String expiry_time) {
            this.expiry_time = expiry_time;
        }

        private int sell_id;
        private String sell_name;
        private int buy_id;
        private String buy_name;
        private int status;
        private String ali_receipt_code;
        private String alipay;
        private String alipay_name;
        private String bank_info;
        private String bank_name;
        private String bankpay_name;
        private String card_num;
        private double num;
        private String order_id;
        private double pay_price;
        private String paypal_num;
        private double price;
        private String wechat;
        private String wechat_name;
        private String wechat_receipt_code;
        private int token_id;
        private String token_name;

        public int getSell_id() {
            return sell_id;
        }

        public void setSell_id(int sell_id) {
            this.sell_id = sell_id;
        }

        public String getSell_name() {
            return sell_name;
        }

        public void setSell_name(String sell_name) {
            this.sell_name = sell_name;
        }

        public int getBuy_id() {
            return buy_id;
        }

        public void setBuy_id(int buy_id) {
            this.buy_id = buy_id;
        }

        public String getBuy_name() {
            return buy_name;
        }

        public void setBuy_name(String buy_name) {
            this.buy_name = buy_name;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getAli_receipt_code() {
            return ali_receipt_code;
        }

        public void setAli_receipt_code(String ali_receipt_code) {
            this.ali_receipt_code = ali_receipt_code;
        }

        public String getAlipay() {
            return alipay;
        }

        public void setAlipay(String alipay) {
            this.alipay = alipay;
        }

        public String getAlipay_name() {
            return alipay_name;
        }

        public void setAlipay_name(String alipay_name) {
            this.alipay_name = alipay_name;
        }

        public String getBank_info() {
            return bank_info;
        }

        public void setBank_info(String bank_info) {
            this.bank_info = bank_info;
        }

        public String getBank_name() {
            return bank_name;
        }

        public void setBank_name(String bank_name) {
            this.bank_name = bank_name;
        }

        public String getBankpay_name() {
            return bankpay_name;
        }

        public void setBankpay_name(String bankpay_name) {
            this.bankpay_name = bankpay_name;
        }

        public String getCard_num() {
            return card_num;
        }

        public void setCard_num(String card_num) {
            this.card_num = card_num;
        }

        public double getNum() {
            return num;
        }

        public void setNum(double num) {
            this.num = num;
        }

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public double getPay_price() {
            return pay_price;
        }

        public void setPay_price(double pay_price) {
            this.pay_price = pay_price;
        }

        public String getPaypal_num() {
            return paypal_num;
        }

        public void setPaypal_num(String paypal_num) {
            this.paypal_num = paypal_num;
        }

        public double getPrice() {
            return price;
        }

        public String getPriceText() {
            return new DecimalFormat("########.########").format(price);
        }

        public String getNumText() {
            return new DecimalFormat("########.########").format(num);
        }

        public String getTotalPrice() {
            return new DecimalFormat("########.########").format(price * num);
        }


        public void setPrice(double price) {
            this.price = price;
        }

        public String getWechat() {
            return wechat;
        }

        public void setWechat(String wechat) {
            this.wechat = wechat;
        }

        public String getWechat_name() {
            return wechat_name;
        }

        public void setWechat_name(String wechat_name) {
            this.wechat_name = wechat_name;
        }

        public String getWechat_receipt_code() {
            return wechat_receipt_code;
        }

        public void setWechat_receipt_code(String wechat_receipt_code) {
            this.wechat_receipt_code = wechat_receipt_code;
        }

        public int getToken_id() {
            return token_id;
        }

        public void setToken_id(int token_id) {
            this.token_id = token_id;
        }

        public String getToken_name() {
            return token_name;
        }

        public void setToken_name(String token_name) {
            this.token_name = token_name;
        }
    }
}
